﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Remotion.Linq.Collections;

namespace DomainModel.Entities
{
    public class User
    {
        public User()
        {
            Friends=new ObservableCollection<User>();
            UndeliveredMessagesToMe=new ObservableCollection<UndeliveredMessage>();
            MyUndeliveredMessages=new ObservableCollection<UndeliveredMessage>();
        }
        public virtual long UserId
        {
            get;
            set;
        }
        public virtual string Login
        {
            get;
            set;
        }
        public virtual string Password
        {
            get;
            set;
        }
        public virtual string City
        {
            get;
            set;
        }
        public virtual short? Age
        {
            get;
            set;
        }
        public virtual StatusInfo StatusInfo
        {
            get;
            set;
        }
        public virtual IList<UndeliveredMessage> MyUndeliveredMessages
        {
            get;
            set;
        }
        public virtual IList<UndeliveredMessage> UndeliveredMessagesToMe
        {
            get;
            set;
        }
        public virtual IList<User> Friends
        {
            get;
            set;
        }
    }
}
